import pickle

pkl_file_path = "/cv/yc/DSGN2/data/ww/ww_infos_train.pkl"
contents = pickle.load(open(pkl_file_path, "rb"))
for i in range(len(contents)):
    data = contents[i]
    for j in range(len(data['annos']['num_points_in_gt'])):
        if data['annos']['num_points_in_gt'][j] > 20:
            print('yes')